/**
 * vue 自定义指令
 * Created By zhangQ 2018/7/19
 */
import Vue from 'vue'

Vue.directive('power', {
  inserted (el, binding) {
    console.log('删除')
    if (binding.value) {
      $(el).remove()
    }
  }
})
